<?php

namespace plugin\admin\app\model;

use plugin\admin\app\model\Base;

/**
 * @property integer $id (主键)
 * @property integer $user_id 用户ID
 * @property string $team_consume_limit 团队业绩
 * @property integer $recommend_count 达到团队业绩后的推荐人数
 * @property string $config 加速配置
 * @property integer $should_release_days 应释放天数
 * @property integer $release_days 已释放天数
 * @property string $created_time 创建时间
 */
class TeamSpeedUpLog extends Base
{
    /**
     * The table associated with the model.
     *
     * @var string
     */
    protected $table = 'wa_team_speed_up_logs';

    /**
     * The primary key associated with the table.
     *
     * @var string
     */
    protected $primaryKey = 'id';
    /**
     * Indicates if the model should be timestamped.
     *
     * @var bool
     */
    public $timestamps = false;

    public $fillable = ['user_id', 'team_consume_limit', 'recommend_count', 'config', 'should_release_days', 'release_days', 'created_time'];

    const STATUS_UN_RELEASE = 0;

    const STATUS_RELEASED = 1;
    
}
